﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="findPassword.aspx.cs" Inherits="findPassword" %>

<%@Register src="header.ascx" tagPrefix="wepj" tagName="header" %>
<%@Register src="footer.ascx" tagPrefix="wepj" tagName="footer" %>

<!DOCTYPE html>

<html>
    <head>
        <meta charset="utf-8">
        <title>找回密码 - We Easy Project</title>
        <link rel="stylesheet" href="css/header.css">
        <link rel="stylesheet" href="css/footer.css">
        <script src="js/findPassword.js"></script>
    </head>
    <body>
        <wepj:header runat="server" />
        <div id="form">
            <form runat="server">
                <div id="step_1" runat="server">
                    <h2>密码找回 —— 步骤一</h2>
                    <div id="notification_step_1" runat="server">
                        <p>
                            通过密码保护功能重置密码，我们需要进行一系列验证工作<br>
                            请输入您的用户名和密码
                        </p>
                    </div>
                    <div id="forms_step_1">
                        <table>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="userName_text" EnableViewState="False">用户名：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="userName_text"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="emailAddress_text" EnableViewState="False">安全邮箱：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="emailAddress_text"></asp:TextBox></td>
                            </tr>
                        </table>
                        <asp:Button runat="server" ClientIDMode="Static" ID="submit_step_1" Text="提交" OnClick="submit_step_1_Click" />
                    </div>
                </div>
                <div id="step_2" runat="server">
                    <h2>密码找回 —— 步骤二</h2>
                    <div id="notification_step_2" runat="server">
                        <p>下面是您原来设置过的密码保护问题，请您回忆答案并填写完整</p>
                    </div>
                    <div id="form_step_2">
                        <table>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="question1_text" EnableViewState="False">问题 1：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="question1_text"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="answer1_text">问题 1 答案：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="answer1_text"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="question2_text" EnableViewState="False">问题 2：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="question2_text"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="answer2_text">问题 2 答案：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="answer2_text"></asp:TextBox></td>
                            </tr>
                        </table>
                        <asp:Button runat="server" ClientIDMode="Static" ID="submit_step_2" Text="提交" OnClick="submit_step_2_Click" />
                    </div>
                </div>
                <!--step3并不提供表单，用于显示成功信息-->
                <div id="step_3" runat="server">
                    <h2>密码找回 —— 邮件验证</h2>
                    <div id="notification_step_3" runat="server">
                        您通过了安全问题的验证，我们刚刚向您的安全邮箱发送了一封邮件<br>
                        请点击其中链接来重置密码
                    </div>
                    <!--<div id="form_step_3">
                        <table>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="newPassword_text">新密码：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="newPassword_text"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td><asp:Label runat="server" AssociatedControlID="confirmNewPassword_text">确认新密码：</asp:Label></td>
                                <td><asp:TextBox runat="server" ClientIDMode="Static" ID="confirmNewPassword_text"></asp:TextBox></td>
                            </tr>
                        </table>
                        <asp:Button runat="server" ClientIDMode="Static" ID="submit_step_3" Text="提交"/>
                    </div>-->
                </div>
            </form>
        </div>
        <wepj:footer runat="server" />
    </body>
</html>